package com.ym.student.system.service;

import com.ym.student.system.entity.Teacher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author self-DIscipline123
 * @since 2025-05-20
 */
public interface ITeacherService extends IService<Teacher> {


    Teacher saveTeacher(Teacher teacher);

    void deleteTeacher(Long id);

    Teacher updateTeacher(Long id, Teacher teacher);

    Teacher getTeacherById(Long id);

    List<Teacher> getAllTeachers();
}
